html,
body {
  height: 100%;
  overflow: hidden;
}

/*(1)清除默认样式*/
html,
body,
ul,
li,
ol,
dl,
dd,
dt,
p,
h1,
h2,
h3,
h4,
h5,
h6,
form,
fieldset,
legend,
img,
input {
  margin: 0;
  padding: 0;
}
fieldset,
img,
input,
button {
  border: 0 none;
  padding: 0;
  margin: 0;
  outline-style: none;
} /*去掉input等聚焦时的蓝色边框*/
ul,
li,
ol {
  list-style: none;
}

select,
input {
  vertical-align: middle;
}
/*select, input, textarea { font-size:12px; margin:0; }*/
textarea {
  resize: none;
} /*防止拖动*/
img {
  border: 0;
  vertical-align: middle;
}

a {
  text-decoration: none;
}

/*（2）添加公共样式*/
/*body {
    font:12px Arial,Verdana,"\5b8b\4f53";
    color:#666;
    background:#fff;
}*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
  font-size: 1em;
} /*设置h标签的大小，设置跟父亲一样大的字体font-size:100%;*/
s,
i,
em {
  font-style: normal;
  text-decoration: none;
}

/* 只要元素需要左浮动就给元素添加一个class名为fl */
.fl {
  float: left;
}
/*只要元素需要右浮动就给元素添加一个class名为fr  */
.fr {
  float: right;
}
.ac {
  text-align: center;
}
.f12 {
  font-size: 12px;
}
.f14 {
  font-size: 14px;
}
.f16 {
  font-size: 16px;
}

/* 解决高度塌陷 */
.clearfix::after {
  display: block;
  height: 0px;
  content: "";
  clear: both;
  overflow: hidden;
  visibility: hidden;
}
